//
//  MarketService.h
//  BTCoin
//
//  Created by Robin on 08/03/2018.
//  Copyright © 2018 Robin. All rights reserved.
//

#import "BaseService.h"

@interface MarketService : BaseService

DEFINE_SINGLETON_FOR_HEADER(MarketService)

/**获取深度数据*/
- (void)requestDepth:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**获取K线数据*/
- (void)requestKline:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**获取实时行情*/
- (void)requestMarket:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**获取最新成交数据*/
- (void)requestTrades:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**获取分时数据*/
- (void)requestChartData:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;

/**获取行情列表数据*/
- (void)requestPostMarketHomeList:(NSDictionary *)parDict success:(successResponseBlock)successBlock fail:(failResponseBlock)failBlock;
@end
